package com.example.personnel_oa.service;
//service 接口数据传达给controller
import com.example.comment_oa.pojos.Recruits;
import com.example.comment_oa.pojos_vo.zff.RecruitsVo;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

/**
* @author HUAWEI
* @description 针对表【recruits】的数据库操作Service
* @createDate 2022-10-20 14:56:12
*/
@Service
@Repository
@Transactional
public interface RecruitsService {
    public List<Recruits> Methods_rec();
    public List<Recruits> allRecruits();
    public List<Recruits> allrecruits(int recId);
    //查询入职员工详情
    List<Recruits> allRecruits2(int recId);
    //才人入职成功后修改入职状态
    int upstate(int recId,int empId);
    //查询已入职记录
    List<Recruits> allRecruits3(RecruitsVo recruitsVo);
    //新增待入职信息
    int addrecruits(Recruits recruits);

}
